show: remove obsolete comment
authorAlex <alex-gitlab.x6izqcc7@alxu.ca>
Mon, 3 Aug 2020 15:36:36 +0000 (15:36 +0000)
committerAlex <alex-gitlab.x6izqcc7@alxu.ca>
Mon, 3 Aug 2020 15:36:36 +0000 (15:36 +0000)
g_app_info_launch_default_for_uri supports x-scheme-handler directly since at least 2.27.1, released almost 10 years ago.

Link: https://bugzilla.gnome.org/show_bug.cgi?id=631410
Link: https://gitlab.gnome.org/GNOME/glib/-/commit/9b262f1c5fe5a6fd879f17cd7b80d8c54e33d80c
gtk/gtkshow.c

index 1b4659714d40cb348ec123dd73b64f2b51155681..4de007fa95996018575845ecf8aa68b6c0fa4026 100644 (file)
@@ -91,14 +91,6 @@ window_handle_exported (GtkWindow  *window,
  * This function launches the default application for showing
  * a given uri.
  *
- * The uri must be of a form understood by GIO (i.e. you need
- * to install gvfs to get support for uri schemes such as http://
- * or ftp://, as only local files are handled by GIO itself).
- * Typical examples are
- * - `file:///home/gnome/pict.jpg`
- * - `http://www.gnome.org`
- * - `mailto:me@gnome.org`
- *
  * The @callback will be called when the launch is completed.
  * It should call gtk_show_uri_full_finish() to obtain the result.
  *
@@ -203,14 +195,6 @@ show_uri_done (GObject      *object,
  *
  * This function launches the default application for showing
  * a given uri, or shows an error dialog if that fails.
- *
- * The uri must be of a form understood by GIO (i.e. you need
- * to install gvfs to get support for uri schemes such as http://
- * or ftp://, as only local files are handled by GIO itself).
- * Typical examples are
- * - `file:///home/gnome/pict.jpg`
- * - `http://www.gnome.org`
- * - `mailto:me@gnome.org`
  */
 void
 gtk_show_uri (GtkWindow  *parent,